package com.shop.front.request.store;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@ApiModel("添加商品评论请求参数")
@Data
public class StoreProductReplyAddReq {

    @ApiModelProperty(value = "评论图片")
    private String pics;

    @ApiModelProperty("评论内容")
    private String comment;

    @ApiModelProperty("产品质量评分")
    @Min(value = 1, message = "请选择产品质量分数")
    @Max(value = 5, message = "产品质量评分过高")
    private Integer productScore;

    @ApiModelProperty("服务态度评分")
    @Min(value = 1, message = "请选择服务态度分数")
    @Max(value = 5, message = "服务态度评分过高")
    private Integer serviceScore;

    @ApiModelProperty(value = "订单购物车ID", hidden = true)
    private Long orderCartInfoId;

    @ApiModelProperty("订单购物车ID")
    private String orderCartInfoSign;


}
